//
//  WCWebExtractItem.h
//  WebClipper
//
//  Created by Daniel Braun on 25/02/07.
//  Copyright 2007 Daniel Braun http://page-appart.net, http://braun.daniel.free.fr All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "WCDom.h"

@class WCWebExtractionPath;
@class WCWebFetchController;
@class WCExtractAction;

@interface WCWebExtractItem : NSObject {
	NSString *name;
	WCWebExtractionPath *xpath;
	WCExtractAction *extractAction;
}


- (NSDictionary *) processExtractionWithDom:(DOMHTMLElement *)rootElement skipAction:(BOOL)skip fromUrl:(NSURL *)url;
- (WCWebExtractionPath *) xpath;
- (NSString *) jsCode;
- (NSString *) name;

- (WCExtractAction *) extractAction;
- (void) setExtractAction:(WCExtractAction *)a;
@end
